package cn.cmcc.online.smsapi.ui.model;

import org.json.JSONObject;

public class MovieData {
    private String name;
    private String time;
    private String room;
    private String seat;
    private String theatre;
    private String verifyCode;
    private String ticketCode;
    private String ticketNote;

    public MovieData(JSONObject obj) {
        name = obj.optString("high_info_title");
        time = obj.optString("high_info_value");
        seat = obj.optString("seat");
        room = obj.optString("room");
        theatre = obj.optString("theatre");
        verifyCode = obj.optString("verify_code");
        ticketCode = obj.optString("ticket_code");
        ticketNote = obj.optString("ticket_note");
    }

    public String getName() {
        return name;
    }

    public String getTime() {
        return time;
    }

    public String getRoom() {
        return room;
    }

    public String getSeat() {
        return seat;
    }

    public String getTheatre() {
        return theatre;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public String getTicketCode() {
        return ticketCode;
    }

    public String getTicketNote() {
        return ticketNote;
    }
}
